let { Router } = require('express')

module.exports = new Router()
    // 修改用户信息
    .post('/system/user/updata', require('./user/updata'))
    // 增添用户
    .post('/system/user/adddata', require('./user/adddata'))
    // 用户信息
    .get('/system/user', require('./user/user'))
    .get('/system/users', require('./user/users'))
    // 删除用户
    .get('/system/user/delete', require('./user/delete'))
    
    

    // 角色模块
    .get('/system/role', require('./role/role'))
    .get('/system/roles', require('./role/roles'))
    .get('/system/role/delete', require('./role/delete'))
    // 修改用户信息
    .post('/system/role/updata', require('./role/updata'))
    // 添加用户
    .post('/system/role/add', require('./role/add'))



    // 公司模块
    // 修改
    .post('/system/company/updata', require('./company/updata'))
    .post('/system/company/add', require('./company/add'))

    // 数据接口
    .get('/system/company', require('./company/company'))
    .get('/system/companys', require('./company/companys'))

    // 删除
    .get('/system/company/delete', require('./company/delete'))




    // 权限模块
    // 修改
    .post('/system/power/updata', require('./power/updata'))
    .post('/system/power/add', require('./power/add'))

    // 数据接口
    .get('/system/power', require('./power/power'))
    .get('/system/powers', require('./power/powers'))

    // 删除
    .get('/system/power/delete', require('./power/delete'))
    // 权限
    .get('/system/power/rank', require('./power/rank'))
    






    


    
